package com.golden.procedure.client;

import java.util.List;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import com.golden.procedure.clientDO.EmployeeDO;

@FeignClient("privilege-Service")
public interface EmployeeClientAPI {

	@GetMapping("/api/employee/{id}")
	public EmployeeDO get(@PathVariable(value = "id") Integer id);

	@GetMapping("/api/employees/{realName}/{code}/{jobsId}/{mobile}")
	public List<EmployeeDO> query(@PathVariable(value = "realName") String realName,
			@PathVariable(value = "code") String code, @PathVariable(value = "jobsId") Integer jobsId,
			@PathVariable(value = "mobile") String mobile);

}
